<div id="page-wrapper">
  <div class="row">
    <div class="col-sm-10">
      <div class="panel panel-default">
        <div class="panel-heading">
          <span class="judul-page">Detail Member</span>
          <span class="pull-right">
            <a href="<?php echo site_url('member/'.$jenis.'') ?>">
              <button class="btn btn-primary btn-xs">Kembali</button>
            </a>
          </span>
        </div>
        <div class="panel-body">
          <div class="row">
            <label class="col-sm-3 control-label">Nama Lengkap</label>
            <div class="col-sm-9">
              <?php echo $hasil->nama_lengkap; ?>
            </div>
          </div>
          <div class="row">
            <label class="col-sm-3 control-label">Nama Panggilan</label>
            <div class="col-sm-9">
              <?php echo $hasil->nama_panggilan; ?>
            </div>
          </div>
          <div class="row">
            <label class="col-sm-3 control-label">Alamat</label>
            <div class="col-sm-9">
              <?php echo $hasil->alamat; ?>
            </div>
          </div>
          <div class="row">
            <label class="col-sm-3 control-label">Provinsi</label>
            <div class="col-sm-9">
              <?php echo $hasil->provinsi; ?>
            </div>
          </div>
          <div class="row">
            <label class="col-sm-3 control-label">Email</label>
            <div class="col-sm-9">
              <?php echo $hasil->email; ?>
            </div>
          </div>
          <div class="row">
            <label class="col-sm-3 control-label">Telepon</label>
            <div class="col-sm-9">
              <?php echo $hasil->telp; ?>
            </div>
          </div>
          <div class="row">
            <label class="col-sm-3 control-label">Tanggal Daftar</label>
            <div class="col-sm-9">
              <?php echo tgl_indonesia($hasil->tgl_daftar); ?>
            </div>
          </div>
          <div class="row">
            <label class="col-sm-3 control-label">Status Member</label>
            <div class="col-sm-9">
              <?php 
                if($hasil->status_member == '0'){
                  echo "Free Member";
                } else if ($hasil->status_member == '2') {
                  echo "Premium Member";
                } else {
                  echo "Pending";
                }
              ?>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="col-sm-4"></div>
  </div>
</div>